﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012FB RID: 4859
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueHandbookDataUpdateScNotify : IMessage<SyncRogueHandbookDataUpdateScNotify>, IMessage, IEquatable<SyncRogueHandbookDataUpdateScNotify>, IDeepCloneable<SyncRogueHandbookDataUpdateScNotify>, IBufferMessage
	{
		// Token: 0x17003D57 RID: 15703
		// (get) Token: 0x0600D98D RID: 55693 RVA: 0x002472F3 File Offset: 0x002454F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueHandbookDataUpdateScNotify> Parser
		{
			get
			{
				return SyncRogueHandbookDataUpdateScNotify._parser;
			}
		}

		// Token: 0x17003D58 RID: 15704
		// (get) Token: 0x0600D98E RID: 55694 RVA: 0x002472FA File Offset: 0x002454FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueHandbookDataUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D59 RID: 15705
		// (get) Token: 0x0600D98F RID: 55695 RVA: 0x0024730C File Offset: 0x0024550C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueHandbookDataUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x0600D990 RID: 55696 RVA: 0x00247313 File Offset: 0x00245513
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueHandbookDataUpdateScNotify()
		{
		}

		// Token: 0x0600D991 RID: 55697 RVA: 0x00247354 File Offset: 0x00245554
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueHandbookDataUpdateScNotify(SyncRogueHandbookDataUpdateScNotify other) : this()
		{
			this.magicUnitList_ = other.magicUnitList_.Clone();
			this.handbookMiracleList_ = other.handbookMiracleList_.Clone();
			this.handbookEventList_ = other.handbookEventList_.Clone();
			this.handbookMazeBuffList_ = other.handbookMazeBuffList_.Clone();
			this.magicScepterList_ = other.magicScepterList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D992 RID: 55698 RVA: 0x002473CD File Offset: 0x002455CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueHandbookDataUpdateScNotify Clone()
		{
			return new SyncRogueHandbookDataUpdateScNotify(this);
		}

		// Token: 0x17003D5A RID: 15706
		// (get) Token: 0x0600D993 RID: 55699 RVA: 0x002473D5 File Offset: 0x002455D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueMagicUnitInfo> MagicUnitList
		{
			get
			{
				return this.magicUnitList_;
			}
		}

		// Token: 0x17003D5B RID: 15707
		// (get) Token: 0x0600D994 RID: 55700 RVA: 0x002473DD File Offset: 0x002455DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueHandbookMiracleInfo> HandbookMiracleList
		{
			get
			{
				return this.handbookMiracleList_;
			}
		}

		// Token: 0x17003D5C RID: 15708
		// (get) Token: 0x0600D995 RID: 55701 RVA: 0x002473E5 File Offset: 0x002455E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueHandbookEventInfo> HandbookEventList
		{
			get
			{
				return this.handbookEventList_;
			}
		}

		// Token: 0x17003D5D RID: 15709
		// (get) Token: 0x0600D996 RID: 55702 RVA: 0x002473ED File Offset: 0x002455ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueHandbookMazeBuff> HandbookMazeBuffList
		{
			get
			{
				return this.handbookMazeBuffList_;
			}
		}

		// Token: 0x17003D5E RID: 15710
		// (get) Token: 0x0600D997 RID: 55703 RVA: 0x002473F5 File Offset: 0x002455F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueMagicScepterInfo> MagicScepterList
		{
			get
			{
				return this.magicScepterList_;
			}
		}

		// Token: 0x0600D998 RID: 55704 RVA: 0x002473FD File Offset: 0x002455FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueHandbookDataUpdateScNotify);
		}

		// Token: 0x0600D999 RID: 55705 RVA: 0x0024740C File Offset: 0x0024560C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueHandbookDataUpdateScNotify other)
		{
			return other != null && (other == this || (this.magicUnitList_.Equals(other.magicUnitList_) && this.handbookMiracleList_.Equals(other.handbookMiracleList_) && this.handbookEventList_.Equals(other.handbookEventList_) && this.handbookMazeBuffList_.Equals(other.handbookMazeBuffList_) && this.magicScepterList_.Equals(other.magicScepterList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D99A RID: 55706 RVA: 0x002474A0 File Offset: 0x002456A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.magicUnitList_.GetHashCode();
			num ^= this.handbookMiracleList_.GetHashCode();
			num ^= this.handbookEventList_.GetHashCode();
			num ^= this.handbookMazeBuffList_.GetHashCode();
			num ^= this.magicScepterList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D99B RID: 55707 RVA: 0x0024750C File Offset: 0x0024570C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D99C RID: 55708 RVA: 0x00247514 File Offset: 0x00245714
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D99D RID: 55709 RVA: 0x00247520 File Offset: 0x00245720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.handbookMiracleList_.WriteTo(ref output, SyncRogueHandbookDataUpdateScNotify._repeated_handbookMiracleList_codec);
			this.magicUnitList_.WriteTo(ref output, SyncRogueHandbookDataUpdateScNotify._repeated_magicUnitList_codec);
			this.handbookEventList_.WriteTo(ref output, SyncRogueHandbookDataUpdateScNotify._repeated_handbookEventList_codec);
			this.magicScepterList_.WriteTo(ref output, SyncRogueHandbookDataUpdateScNotify._repeated_magicScepterList_codec);
			this.handbookMazeBuffList_.WriteTo(ref output, SyncRogueHandbookDataUpdateScNotify._repeated_handbookMazeBuffList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D99E RID: 55710 RVA: 0x00247598 File Offset: 0x00245798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.magicUnitList_.CalculateSize(SyncRogueHandbookDataUpdateScNotify._repeated_magicUnitList_codec);
			num += this.handbookMiracleList_.CalculateSize(SyncRogueHandbookDataUpdateScNotify._repeated_handbookMiracleList_codec);
			num += this.handbookEventList_.CalculateSize(SyncRogueHandbookDataUpdateScNotify._repeated_handbookEventList_codec);
			num += this.handbookMazeBuffList_.CalculateSize(SyncRogueHandbookDataUpdateScNotify._repeated_handbookMazeBuffList_codec);
			num += this.magicScepterList_.CalculateSize(SyncRogueHandbookDataUpdateScNotify._repeated_magicScepterList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D99F RID: 55711 RVA: 0x00247620 File Offset: 0x00245820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueHandbookDataUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.magicUnitList_.Add(other.magicUnitList_);
			this.handbookMiracleList_.Add(other.handbookMiracleList_);
			this.handbookEventList_.Add(other.handbookEventList_);
			this.handbookMazeBuffList_.Add(other.handbookMazeBuffList_);
			this.magicScepterList_.Add(other.magicScepterList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D9A0 RID: 55712 RVA: 0x0024769D File Offset: 0x0024589D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D9A1 RID: 55713 RVA: 0x002476A8 File Offset: 0x002458A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 34U)
				{
					if (num == 18U)
					{
						this.handbookMiracleList_.AddEntriesFrom(ref input, SyncRogueHandbookDataUpdateScNotify._repeated_handbookMiracleList_codec);
						continue;
					}
					if (num == 34U)
					{
						this.magicUnitList_.AddEntriesFrom(ref input, SyncRogueHandbookDataUpdateScNotify._repeated_magicUnitList_codec);
						continue;
					}
				}
				else
				{
					if (num == 42U)
					{
						this.handbookEventList_.AddEntriesFrom(ref input, SyncRogueHandbookDataUpdateScNotify._repeated_handbookEventList_codec);
						continue;
					}
					if (num == 74U)
					{
						this.magicScepterList_.AddEntriesFrom(ref input, SyncRogueHandbookDataUpdateScNotify._repeated_magicScepterList_codec);
						continue;
					}
					if (num == 82U)
					{
						this.handbookMazeBuffList_.AddEntriesFrom(ref input, SyncRogueHandbookDataUpdateScNotify._repeated_handbookMazeBuffList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400568B RID: 22155
		private static readonly MessageParser<SyncRogueHandbookDataUpdateScNotify> _parser = new MessageParser<SyncRogueHandbookDataUpdateScNotify>(() => new SyncRogueHandbookDataUpdateScNotify());

		// Token: 0x0400568C RID: 22156
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400568D RID: 22157
		public const int MagicUnitListFieldNumber = 4;

		// Token: 0x0400568E RID: 22158
		private static readonly FieldCodec<RogueMagicUnitInfo> _repeated_magicUnitList_codec = FieldCodec.ForMessage<RogueMagicUnitInfo>(34U, RogueMagicUnitInfo.Parser);

		// Token: 0x0400568F RID: 22159
		private readonly RepeatedField<RogueMagicUnitInfo> magicUnitList_ = new RepeatedField<RogueMagicUnitInfo>();

		// Token: 0x04005690 RID: 22160
		public const int HandbookMiracleListFieldNumber = 2;

		// Token: 0x04005691 RID: 22161
		private static readonly FieldCodec<RogueHandbookMiracleInfo> _repeated_handbookMiracleList_codec = FieldCodec.ForMessage<RogueHandbookMiracleInfo>(18U, RogueHandbookMiracleInfo.Parser);

		// Token: 0x04005692 RID: 22162
		private readonly RepeatedField<RogueHandbookMiracleInfo> handbookMiracleList_ = new RepeatedField<RogueHandbookMiracleInfo>();

		// Token: 0x04005693 RID: 22163
		public const int HandbookEventListFieldNumber = 5;

		// Token: 0x04005694 RID: 22164
		private static readonly FieldCodec<RogueHandbookEventInfo> _repeated_handbookEventList_codec = FieldCodec.ForMessage<RogueHandbookEventInfo>(42U, RogueHandbookEventInfo.Parser);

		// Token: 0x04005695 RID: 22165
		private readonly RepeatedField<RogueHandbookEventInfo> handbookEventList_ = new RepeatedField<RogueHandbookEventInfo>();

		// Token: 0x04005696 RID: 22166
		public const int HandbookMazeBuffListFieldNumber = 10;

		// Token: 0x04005697 RID: 22167
		private static readonly FieldCodec<RogueHandbookMazeBuff> _repeated_handbookMazeBuffList_codec = FieldCodec.ForMessage<RogueHandbookMazeBuff>(82U, RogueHandbookMazeBuff.Parser);

		// Token: 0x04005698 RID: 22168
		private readonly RepeatedField<RogueHandbookMazeBuff> handbookMazeBuffList_ = new RepeatedField<RogueHandbookMazeBuff>();

		// Token: 0x04005699 RID: 22169
		public const int MagicScepterListFieldNumber = 9;

		// Token: 0x0400569A RID: 22170
		private static readonly FieldCodec<RogueMagicScepterInfo> _repeated_magicScepterList_codec = FieldCodec.ForMessage<RogueMagicScepterInfo>(74U, RogueMagicScepterInfo.Parser);

		// Token: 0x0400569B RID: 22171
		private readonly RepeatedField<RogueMagicScepterInfo> magicScepterList_ = new RepeatedField<RogueMagicScepterInfo>();
	}
}
